<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ui:composition> 
        <h:form>  

         

            <p:toolbar style="min-width: 1200px">  
                <p:toolbarGroup align="left" styleClass="grupoLogo">  
                    <h:outputText id="logo" class="logo" value="RetailShop"/>
                    <p:spacer width="60" height="10" />

                </p:toolbarGroup>  
                <p:toolbarGroup align="left"> 
                    <p:commandButton  ajax="false" value="Usuarios" icon="ui-icon-person" action="#{backofficeControllerBean.users()}" style="margin-top: 3px"/>  
                    <p:commandButton  ajax="false" value="Categorías" icon="ui-icon ui-icon-folder-open" action="#{backofficeControllerBean.categories()}" />  
                    <p:commandButton  ajax="false" value="Artículos" icon="ui-icon-cart" action="#{backofficeControllerBean.items()}"/>  


                </p:toolbarGroup>

                <p:toolbarGroup align="right">  
                    <p:commandButton  ajax="false" value="Volver a la tienda" icon="ui-icon-arrowreturnthick-1-w" action="#{backofficeControllerBean.shop()}" style="margin-top: 3px"/>  
                    <p:commandButton  ajax="false" value="Salir" icon="ui-icon-power" action="#{controllerBean.logout}" />  
                </p:toolbarGroup>  

            </p:toolbar>  
        </h:form> 
    </ui:composition>
</html>